package com.galgram.project.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.galgram.project.domain.FxOrder;
import com.galgram.project.entity.Order;

/**
 * 订单Mapper接口
 *
 * @author galgram
 * @date 2024-11-20
 */
public interface FxOrderMapper extends BaseMapper<FxOrder> {

    /**
     * 查询订单列表
     *
     * @param fxOrder 订单
     * @return 订单集合
     */
    List<FxOrder> selectFxOrderList(FxOrder fxOrder);

    List<Order> getOrderList(Order order);

    Order selectOrderByOrderNumber(Long orderNumber);

    List<Order> getFinishedOrderList(Order order);
}
